import { defHttp } from '@/utils/http/axios';

enum Api {
  GetConfig = '/app/user/shopSet/getConfig', //查看开启审核跳过
  UpdateConfig = '/app/user/shopSet/updateConfig/enable', //设置开启审核跳过
}

export function getConfig() {
  return defHttp.get({ url: Api.GetConfig });
}
export function updateConfig(params) {
  return defHttp.post({ url: Api.UpdateConfig, params });
}
